import { Column, Entity } from 'typeorm';
import { BaseEntity } from '../../../common/baseEntity/index';

@Entity('system')
export class System extends BaseEntity {
  @Column({ type: 'varchar', length: 255, comment: '系统名称' })
  name: string;

  @Column({
    type: 'bigint',
    name: 'page_view',
    default: 0,
    nullable: true,
    comment: '浏览量',
  })
  pageView: number;
}
